package cn.lcsjsxy.yxc.renerics.dao;

import org.junit.jupiter.api.Test;

import java.util.List;

public class DAOTest {
    @Test
    public void test1(){
        CustomerDAO dao1=new CustomerDAO();
        dao1.add(new Customer());
        List<Customer> list=dao1.getForList(10);

        StudentDAO dao2=new StudentDAO();
        dao2.add(new Student());
        Student student=dao2.getIndex(1);
    }
}
